<template>
  <div class="news-header-container">
    <div class="news-header">
      <p class="title">{{title.title}}</p>
      <p class="info">
        <span class="info-item">{{title.date}}</span>
        <span class="info-item">{{title.author}}</span>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: Object,
      required: true
    }
  }
}
</script>
<style lang="stylus" scoped>
.news-header-container{
  width: 100%;
  background: #F6F6F6;
  .news-header{
    width: 1200px;
    margin: 0 auto;
    padding: 73px 0;
    .title{
      margin-bottom: 40px;
      line-height: 54px;
      font-size: 36px;
      font-weight: bold;
      color: #101010;
    }
    .info{
      font-size: 14px;
      font-weight: 400;
      color: #A1A1A1;
      .info-item{
        margin-right: 32px;
      }
    }
  }
}
</style>